From 238ede333fb92750520071b71ebff7130b4c8803 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sat, 28 Nov 1998 07:42:37 +0000 Subject: changed scrolled window inheritance, it inherits from GtkBin now. Sat Nov 28 03:13:42 1998 Tim Janik * gtk/gtkscrolledwindow.h: * gtk/gtkscrolledwindow.c: changed scrolled window inheritance, it inherits from GtkBin now. * gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for visibility of child. (gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE(). added check so a child gets only drawn if it's visible. * gtk/gtkwidget.h: * gtk/gtkwidget.c: removed gtk_widget_draw_children(). * gtk/gtkstyle.h: * gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes. * gtk/gtkwidget.h: * gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child(). added internal function gtk_widget_reset_shapes() from gtkstyle.c. * gtk/gtkrc.h: * gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner argument, changed callers. * gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time, it will issue a warning now. * gtk/gtkcompat.h: new file to #define aliases for historic function names. * changed 8 function names for consistency and provided aliases to keep source compatibility in gtkcompat.h: (gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width (gtk_container_set_border_width): renamed from gtk_container_border_width (gtk_notebook_get_current_page): renamed from gtk_notebook_current_page (gtk_packer_configure): renamed from gtk_packer_set_child_packing (gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size (gtk_paned_set_handle_size): renamed from gtk_paned_handle_size (gtk_scale_get_value_width): renamed from gtk_scale_value_width (gtk_window_set_position): renamed from gtk_window_position * renamed a few recently added funtions for consistency: (gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label. (gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label. (gtk_progress_configure): renamed from gtk_progress_reconfigure. --- gtk/gtkrc.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'gtk/gtkrc.c') diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index 3e10e45a79..a855ef22c1 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -1391,8 +1391,7 @@ gtk_rc_find_pixmap_in_path (GScanner *scanner, } gchar* -gtk_rc_find_module_in_path (GScanner *scanner, - const gchar *module_file) +gtk_rc_find_module_in_path (const gchar *module_file) { gint i; gint fd; @@ -1412,13 +1411,6 @@ gtk_rc_find_module_in_path (GScanner *scanner, g_free (buf); } - - if (scanner) - g_warning ("Unable to locate loadable module in module_path: \"%s\" line %d", - module_file, scanner->line); - else - g_warning ("Unable to locate loadable module in module_path: \"%s\",", - module_file); return NULL; } -- cgit v1.2.1