diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-01-18 18:48:09 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-01-18 18:48:09 +0000 |
commit | e260fd6a2b1f36fc7cff90f9b7c21cf6f5a4cfa7 (patch) | |
tree | ab179daddaff1b111d2d8473ef7a8f609a6861fb /gtk/gtkthemes.c | |
parent | deb20a3cd07adf8b249d32296befa524b956adb2 (diff) | |
download | gtk+-e260fd6a2b1f36fc7cff90f9b7c21cf6f5a4cfa7.tar.gz |
Added gtk_menu_set_title() to set the title of a menu in the torn-off
Mon Jan 18 13:25:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.[ch]: Added gtk_menu_set_title() to
set the title of a menu in the torn-off state.
* gtk/gtkthemes.c (gtk_theme_engine_get): When loading
of theme engine fails, just warn and do without -
don't error out.
* gtk/gtkmain.c (gtk_check_version): s/to/too/.
Diffstat (limited to 'gtk/gtkthemes.c')
-rw-r--r-- | gtk/gtkthemes.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkthemes.c b/gtk/gtkthemes.c index 8da2ce6fd5..1410149a4f 100644 --- a/gtk/gtkthemes.c +++ b/gtk/gtkthemes.c @@ -81,7 +81,10 @@ gtk_theme_engine_get (gchar *name) library = g_module_open (engine_path, 0); g_free(engine_path); if (!library) - g_error(g_module_error()); + { + g_warning (g_module_error()); + return NULL; + } else { result = g_new (GtkThemeEnginePrivate, 1); @@ -96,7 +99,7 @@ gtk_theme_engine_get (gchar *name) !g_module_symbol (library, "theme_exit", (gpointer *)&result->exit)) { - g_error (g_module_error()); + g_warning (g_module_error()); g_free (result); return NULL; } |