mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
Fix wrong types for command line arguments (#69124, Ryan Lovett)
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c: Fix wrong types for command line arguments (#69124, Ryan Lovett) * gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing parsing '--arg VALUE'. * gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
This commit is contained in:
parent
13d48a3b85
commit
599b862f98
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c: Fix wrong types for command line arguments
|
||||
(#69124, Ryan Lovett)
|
||||
|
||||
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
|
||||
parsing '--arg VALUE'.
|
||||
|
||||
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
|
||||
|
||||
2002-01-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
|
||||
|
@ -1,3 +1,13 @@
|
||||
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c: Fix wrong types for command line arguments
|
||||
(#69124, Ryan Lovett)
|
||||
|
||||
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
|
||||
parsing '--arg VALUE'.
|
||||
|
||||
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
|
||||
|
||||
2002-01-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
|
||||
|
@ -1,3 +1,13 @@
|
||||
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c: Fix wrong types for command line arguments
|
||||
(#69124, Ryan Lovett)
|
||||
|
||||
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
|
||||
parsing '--arg VALUE'.
|
||||
|
||||
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
|
||||
|
||||
2002-01-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
|
||||
|
@ -1,3 +1,13 @@
|
||||
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c: Fix wrong types for command line arguments
|
||||
(#69124, Ryan Lovett)
|
||||
|
||||
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
|
||||
parsing '--arg VALUE'.
|
||||
|
||||
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
|
||||
|
||||
2002-01-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
|
||||
|
@ -1,3 +1,13 @@
|
||||
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c: Fix wrong types for command line arguments
|
||||
(#69124, Ryan Lovett)
|
||||
|
||||
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
|
||||
parsing '--arg VALUE'.
|
||||
|
||||
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
|
||||
|
||||
2002-01-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
|
||||
|
@ -1,3 +1,13 @@
|
||||
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c: Fix wrong types for command line arguments
|
||||
(#69124, Ryan Lovett)
|
||||
|
||||
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
|
||||
parsing '--arg VALUE'.
|
||||
|
||||
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
|
||||
|
||||
2002-01-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
|
||||
|
@ -1,3 +1,13 @@
|
||||
Mon Jan 21 10:29:45 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c: Fix wrong types for command line arguments
|
||||
(#69124, Ryan Lovett)
|
||||
|
||||
* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
|
||||
parsing '--arg VALUE'.
|
||||
|
||||
* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
|
||||
|
||||
2002-01-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_add_filter): mention that window
|
||||
|
@ -50,8 +50,6 @@ static int gdk_initialized = 0; /* 1 if the library is initialized,
|
||||
* 0 otherwise.
|
||||
*/
|
||||
|
||||
static GSList *gdk_error_trap_free_list = NULL; /* Free list */
|
||||
|
||||
static gchar *gdk_progclass = NULL;
|
||||
|
||||
#ifdef G_ENABLE_DEBUG
|
||||
@ -128,7 +126,7 @@ gdk_arg_context_parse (GdkArgContext *context, gint *argc, gchar ***argv)
|
||||
int len = strlen (table[k].name);
|
||||
|
||||
if (strncmp (arg, table[k].name, len) == 0 &&
|
||||
(arg[len] == '=' || argc[len] == 0))
|
||||
(arg[len] == '=' || arg[len] == 0))
|
||||
{
|
||||
char *value = NULL;
|
||||
|
||||
@ -228,8 +226,8 @@ gdk_arg_name_cb (const char *key, const char *value, gpointer user_data)
|
||||
}
|
||||
|
||||
static GdkArgDesc gdk_args[] = {
|
||||
{ "class" , GDK_ARG_STRING, NULL, gdk_arg_class_cb },
|
||||
{ "name", GDK_ARG_STRING, NULL, gdk_arg_name_cb },
|
||||
{ "class" , GDK_ARG_CALLBACK, NULL, gdk_arg_class_cb },
|
||||
{ "name", GDK_ARG_CALLBACK, NULL, gdk_arg_name_cb },
|
||||
#ifdef G_ENABLE_DEBUG
|
||||
{ "gdk-debug", GDK_ARG_CALLBACK, NULL, gdk_arg_debug_cb },
|
||||
{ "gdk-no-debug", GDK_ARG_CALLBACK, NULL, gdk_arg_no_debug_cb },
|
||||
|
Loading…
Reference in New Issue
Block a user