diff options
author | Tim Janik <timj@gtk.org> | 1998-11-28 07:42:37 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-11-28 07:42:37 +0000 |
commit | 238ede333fb92750520071b71ebff7130b4c8803 (patch) | |
tree | e53ab2172e6542b6c65d90b25e57823475a82202 /gtk/gtkthemes.c | |
parent | 67d445eebc8d350f5a5131dc6e3d7b8d8ef9da13 (diff) | |
download | gtk+-238ede333fb92750520071b71ebff7130b4c8803.tar.gz |
changed scrolled window inheritance, it inherits from GtkBin now.
Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
* 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.
Diffstat (limited to 'gtk/gtkthemes.c')
-rw-r--r-- | gtk/gtkthemes.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gtk/gtkthemes.c b/gtk/gtkthemes.c index d2482a0af9..c0510d0461 100644 --- a/gtk/gtkthemes.c +++ b/gtk/gtkthemes.c @@ -45,8 +45,8 @@ struct _GtkThemeEnginePrivate { static GHashTable *engine_hash = NULL; -GtkThemeEngine * -gtk_theme_engine_get (gchar *name) +GtkThemeEngine* +gtk_theme_engine_get (gchar *name) { GtkThemeEnginePrivate *result; @@ -64,10 +64,15 @@ gtk_theme_engine_get (gchar *name) GModule *library; g_snprintf (fullname, 1024, "lib%s.so", name); - engine_path = gtk_rc_find_module_in_path(NULL, fullname); + engine_path = gtk_rc_find_module_in_path (fullname); if (!engine_path) - return NULL; + { + g_warning ("Unable to locate loadable module in module_path: \"%s\",", + fullname); + + return NULL; + } /* load the lib */ |