Fix some C99isms.

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (update_node): Fix some C99isms.
This commit is contained in:
Matthias Clasen 2004-11-11 21:18:18 +00:00 committed by Matthias Clasen
parent 75eb3f9d2f
commit d1a02aaa34
5 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,7 @@
* gtk/gtkuimanager.c (update_node): Remove two more places * gtk/gtkuimanager.c (update_node): Remove two more places
where we were unconditionally setting "visible", causing where we were unconditionally setting "visible", causing
unnecessary notifications. unnecessary notifications.
(update_node): Fix some C99isms.
* gtk/gtkclipboard.c (gtk_clipboard_get_for_display): * gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
(gtk_clipboard_get): Clarify the docs. (#156638, Torsten (gtk_clipboard_get): Clarify the docs. (#156638, Torsten

View File

@ -3,6 +3,7 @@
* gtk/gtkuimanager.c (update_node): Remove two more places * gtk/gtkuimanager.c (update_node): Remove two more places
where we were unconditionally setting "visible", causing where we were unconditionally setting "visible", causing
unnecessary notifications. unnecessary notifications.
(update_node): Fix some C99isms.
* gtk/gtkclipboard.c (gtk_clipboard_get_for_display): * gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
(gtk_clipboard_get): Clarify the docs. (#156638, Torsten (gtk_clipboard_get): Clarify the docs. (#156638, Torsten

View File

@ -3,6 +3,7 @@
* gtk/gtkuimanager.c (update_node): Remove two more places * gtk/gtkuimanager.c (update_node): Remove two more places
where we were unconditionally setting "visible", causing where we were unconditionally setting "visible", causing
unnecessary notifications. unnecessary notifications.
(update_node): Fix some C99isms.
* gtk/gtkclipboard.c (gtk_clipboard_get_for_display): * gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
(gtk_clipboard_get): Clarify the docs. (#156638, Torsten (gtk_clipboard_get): Clarify the docs. (#156638, Torsten

View File

@ -3,6 +3,7 @@
* gtk/gtkuimanager.c (update_node): Remove two more places * gtk/gtkuimanager.c (update_node): Remove two more places
where we were unconditionally setting "visible", causing where we were unconditionally setting "visible", causing
unnecessary notifications. unnecessary notifications.
(update_node): Fix some C99isms.
* gtk/gtkclipboard.c (gtk_clipboard_get_for_display): * gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
(gtk_clipboard_get): Clarify the docs. (#156638, Torsten (gtk_clipboard_get): Clarify the docs. (#156638, Torsten

View File

@ -2036,6 +2036,9 @@ update_node (GtkUIManager *self,
GNode *child; GNode *child;
GtkAction *action; GtkAction *action;
gchar *tooltip; gchar *tooltip;
const gchar *action_name;
NodeUIReference *ref;
#ifdef DEBUG_UI_MANAGER #ifdef DEBUG_UI_MANAGER
GList *tmp; GList *tmp;
#endif #endif
@ -2063,9 +2066,6 @@ update_node (GtkUIManager *self,
g_print (")\n"); g_print (")\n");
#endif #endif
const gchar *action_name;
NodeUIReference *ref;
if (info->uifiles == NULL) { if (info->uifiles == NULL) {
/* We may need to remove this node. /* We may need to remove this node.
* This must be done in post order * This must be done in post order