Add some missing symbols.

2007-05-23   Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gdk/x11/xsettings-common.h:
        * gdk/gdk.symbols: Add some missing symbols.

        * gtk/paper_names_offsets.c:
        * gtk/gen-paper-names.c: Make variables static.

        * gtk/gtktooltip.[hc]:
        * gtk/gtkvolumebutton.c:
        * gtk/gtkscalebutton.c:  Fix up symbol aliasing.

svn path=/trunk/; revision=17899
This commit is contained in:
Matthias Clasen 2007-05-23 17:49:34 +00:00 committed by Matthias Clasen
parent 1a534510aa
commit 451b0a7bfd
12 changed files with 67 additions and 16 deletions

View File

@ -1,3 +1,16 @@
2007-05-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gdk/x11/xsettings-common.h:
* gdk/gdk.symbols: Add some missing symbols.
* gtk/paper_names_offsets.c:
* gtk/gen-paper-names.c: Make variables static.
* gtk/gtktooltip.[hc]:
* gtk/gtkvolumebutton.c:
* gtk/gtkscalebutton.c: Fix up symbol aliasing.
2007-05-23 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtkprintunixdialog.c: missing #include <ctype.h>.

View File

@ -1,3 +1,8 @@
2007-05-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt:
* gdk/gdk-sections.txt: Updates
2007-05-20 Bastien Nocera <hadess@hadess.net>
* gtk/gtk-docs.sgml: Add missing docs for the

View File

@ -8,6 +8,8 @@ GtkAboutDialog
gtk_about_dialog_new
gtk_about_dialog_get_name
gtk_about_dialog_set_name
gtk_about_dialog_get_program_name
gtk_about_dialog_set_program_name
gtk_about_dialog_get_version
gtk_about_dialog_set_version
gtk_about_dialog_get_copyright
@ -178,6 +180,7 @@ gtk_action_activate
gtk_action_create_icon
gtk_action_create_menu_item
gtk_action_create_tool_item
gtk_action_create_menu
gtk_action_connect_proxy
gtk_action_disconnect_proxy
gtk_action_get_proxies
@ -1164,6 +1167,7 @@ gtk_entry_completion_set_match_func
gtk_entry_completion_set_minimum_key_length
gtk_entry_completion_get_minimum_key_length
gtk_entry_completion_complete
gtk_entry_completion_get_completion_prefix
gtk_entry_completion_insert_prefix
gtk_entry_completion_insert_action_text
gtk_entry_completion_insert_action_markup
@ -1172,6 +1176,8 @@ gtk_entry_completion_set_text_column
gtk_entry_completion_get_text_column
gtk_entry_completion_set_inline_completion
gtk_entry_completion_get_inline_completion
gtk_entry_completion_set_inline_selection
gtk_entry_completion_get_inline_selection
gtk_entry_completion_set_popup_completion
gtk_entry_completion_get_popup_completion
gtk_entry_completion_set_popup_set_width
@ -5225,6 +5231,8 @@ gtk_window_set_skip_pager_hint
gtk_window_set_urgency_hint
gtk_window_set_accept_focus
gtk_window_set_focus_on_map
gtk_window_set_startup_id
gtk_window_set_role
gtk_window_get_decorated
gtk_window_get_deletable
gtk_window_get_default_icon_list

View File

@ -324,6 +324,7 @@ gdk_colormap_ref
gdk_colormap_unref
#endif
gdk_color_parse
gdk_color_to_string
#endif
#endif
@ -1175,6 +1176,8 @@ gdk_x11_display_get_xdisplay
gdk_x11_display_grab
gdk_x11_display_ungrab
gdk_x11_lookup_xdisplay
gdk_x11_display_broadcast_startup_message
gdk_x11_display_get_startup_notification_id
#endif
#if IN_FILE(__GDK_DRAWABLE_X11_C__)

View File

@ -33,6 +33,7 @@ extern "C" {
#define xsettings_client_destroy _gdk_xsettings_client_destroy
#define xsettings_client_get_setting _gdk_xsettings_client_get_setting
#define xsettings_client_new _gdk_xsettings_client_new
#define xsettings_client_new_with_grab_funcs _gdk_xsettings_client_new_with_grab_funcs
#define xsettings_client_set_grab_func _gdk_xsettings_client_set_grab_func
#define xsettings_client_set_ungrab_func _gdk_xsettings_client_set_ungrab_func
#define xsettings_client_process_event _gdk_xsettings_client_process_event

View File

@ -188,7 +188,7 @@ main (int argc, char *argv[])
printf ("#endif\n\n");
/* write strings */
printf ("const char paper_names[] =");
printf ("static const char paper_names[] =");
for (i = 0; i < n_names; i++)
{
if (names[i].suffix == -1)
@ -204,7 +204,7 @@ main (int argc, char *argv[])
" int display_name;\n"
" int ppd_name;\n"
"} PaperInfo;\n\n"
"const PaperInfo standard_names_offsets[] = {\n");
"static const PaperInfo standard_names_offsets[] = {\n");
for (i = 0; i < n_infos; i++)
{
@ -224,7 +224,7 @@ main (int argc, char *argv[])
/* dump extras */
printf ("const struct {\n"
printf ("static const struct {\n"
" int ppd_name;\n"
" int standard_name;\n"
"} extra_ppd_names_offsets[] = {\n");

View File

@ -33,7 +33,12 @@ gtk_about_dialog_get_documenters
gtk_about_dialog_get_license
gtk_about_dialog_get_logo
gtk_about_dialog_get_logo_icon_name
#ifndef GTK_DISABLE_DEPRECATED
gtk_about_dialog_get_name
gtk_about_dialog_set_name
#endif
gtk_about_dialog_get_program_name
gtk_about_dialog_set_program_name
gtk_about_dialog_get_translator_credits
gtk_about_dialog_get_type G_GNUC_CONST
gtk_about_dialog_get_version
@ -50,7 +55,6 @@ gtk_about_dialog_set_email_hook
gtk_about_dialog_set_license
gtk_about_dialog_set_logo
gtk_about_dialog_set_logo_icon_name
gtk_about_dialog_set_name
gtk_about_dialog_set_translator_credits
gtk_about_dialog_set_url_hook
gtk_about_dialog_set_version
@ -140,6 +144,7 @@ gtk_action_connect_proxy
gtk_action_create_icon
gtk_action_create_menu_item
gtk_action_create_tool_item
gtk_action_create_menu
gtk_action_disconnect_accelerator
gtk_action_disconnect_proxy
gtk_action_get_accel_closure
@ -259,6 +264,7 @@ gtk_corner_type_get_type G_GNUC_CONST
gtk_debug_flag_get_type G_GNUC_CONST
gtk_delete_type_get_type G_GNUC_CONST
gtk_dest_defaults_get_type G_GNUC_CONST
gtk_drag_result_get_type G_GNUC_CONST
gtk_clist_drag_pos_get_type G_GNUC_CONST
gtk_dialog_flags_get_type G_GNUC_CONST
gtk_direction_type_get_type G_GNUC_CONST
@ -1222,7 +1228,9 @@ gtk_entry_completion_complete
gtk_entry_completion_delete_action
gtk_entry_completion_get_entry
gtk_entry_completion_get_inline_completion
gtk_entry_completion_get_inline_selection
gtk_entry_completion_get_minimum_key_length
gtk_entry_completion_get_completion_prefix
gtk_entry_completion_get_model
gtk_entry_completion_get_popup_completion
gtk_entry_completion_get_popup_set_width
@ -1234,6 +1242,7 @@ gtk_entry_completion_insert_action_text
gtk_entry_completion_insert_prefix
gtk_entry_completion_new
gtk_entry_completion_set_inline_completion
gtk_entry_completion_set_inline_selection
gtk_entry_completion_set_match_func
gtk_entry_completion_set_minimum_key_length
gtk_entry_completion_set_model
@ -4742,6 +4751,7 @@ gtk_window_set_default_size
gtk_window_set_destroy_with_parent
gtk_window_set_focus
gtk_window_set_focus_on_map
gtk_window_set_startup_id
gtk_window_set_frame_dimensions
gtk_window_set_geometry_hints
gtk_window_set_gravity

View File

@ -56,6 +56,8 @@
#include <gdk/gdkkeysyms.h>
#include "gtkscalebutton.h"
#include "gtkalias.h"
#define SCALE_SIZE 100
#define CLICK_TIMEOUT 250
@ -1241,6 +1243,6 @@ gtk_scale_button_scale_value_changed (GtkRange *range)
g_object_notify (G_OBJECT (button), "value");
}
/*
* vim: sw=2 ts=8 cindent noai bs=2
*/
#define __GTK_SCALE_BUTTON_C__
#include "gtkaliasdef.c"

View File

@ -29,6 +29,8 @@
#include "gtkhbox.h"
#include "gtkalignment.h"
#include "gtkalias.h"
#include <string.h>
@ -1065,3 +1067,7 @@ _gtk_tooltip_handle_event (GdkEvent *event)
break;
}
}
#define __GTK_TOOLTIP_C__
#include "gtkaliasdef.c"

View File

@ -19,8 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef __GTK_TOOLTIP__
#define __GTK_TOOLTIP__
#ifndef __GTK_TOOLTIP_H__
#define __GTK_TOOLTIP_H__
#include "gtkwidget.h"
#include "gtkwindow.h"
@ -52,4 +52,4 @@ void _gtk_tooltip_hide (GtkWidget *widget);
G_END_DECLS
#endif /* __GTK_TOOLTIP__ */
#endif /* __GTK_TOOLTIP_H__ */

View File

@ -36,6 +36,9 @@
#include "gtktooltips.h"
#include "gtkstock.h"
#include "gtkalias.h"
struct _GtkVolumeButton
{
GtkScaleButton parent;
@ -171,6 +174,6 @@ cb_value_changed (GtkVolumeButton *button, gdouble value, gpointer user_data)
gtk_volume_button_update_tooltip (button);
}
/*
* vim: sw=2 ts=8 cindent noai bs=2
*/
#define __GTK_VOLUME_BUTTON_C__
#include "gtkaliasdef.c"

View File

@ -331,7 +331,7 @@ N_("paper size|ROC 16k")
N_("paper size|ROC 8k")
#endif
const char paper_names[] =
static const char paper_names[] =
"asme_f\0"
"iso_2a0\0"
"A0x2\0"
@ -695,7 +695,7 @@ typedef struct {
int ppd_name;
} PaperInfo;
const PaperInfo standard_names_offsets[] = {
static const PaperInfo standard_names_offsets[] = {
{ 0, 711.2, 1016, 0, -1 },
{ 7, 1189, 1682, 15, -1 },
{ 20, 841, 1189, 918, 918 },
@ -862,7 +862,7 @@ const PaperInfo standard_names_offsets[] = {
{ 3138, 273.05, 393.7, 3145, -1 },
};
const struct {
static const struct {
int ppd_name;
int standard_name;
} extra_ppd_names_offsets[] = {