mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
Stylistic fixes
svn path=/trunk/; revision=18974
This commit is contained in:
parent
fb4b0ddff7
commit
b2ad97dd38
@ -1,3 +1,8 @@
|
||||
2007-11-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkmain.c:
|
||||
* gtk/gtkstatusicon.c: Trivial coding style fixes.
|
||||
|
||||
2007-11-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkbuilder.c: don't leak 'filename' field memory when loading
|
||||
|
@ -652,11 +652,10 @@ do_post_parse_initialization (int *argc,
|
||||
* it isn't default:LTR or default:RTL it will not work
|
||||
*/
|
||||
char *e = _("default:LTR");
|
||||
if (strcmp (e, "default:RTL")==0) {
|
||||
if (strcmp (e, "default:RTL")==0)
|
||||
gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL);
|
||||
} else if (strcmp (e, "default:LTR")) {
|
||||
else if (strcmp (e, "default:LTR"))
|
||||
g_warning ("Whoever translated default:LTR did so wrongly.\n");
|
||||
}
|
||||
}
|
||||
|
||||
gtk_type_init (0);
|
||||
|
@ -1691,10 +1691,11 @@ gtk_status_icon_set_visible (GtkStatusIcon *status_icon,
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
if (visible)
|
||||
gtk_widget_show (priv->tray_icon);
|
||||
else if (GTK_WIDGET_REALIZED (priv->tray_icon)) {
|
||||
gtk_widget_hide (priv->tray_icon);
|
||||
gtk_widget_unrealize (priv->tray_icon);
|
||||
}
|
||||
else if (GTK_WIDGET_REALIZED (priv->tray_icon))
|
||||
{
|
||||
gtk_widget_hide (priv->tray_icon);
|
||||
gtk_widget_unrealize (priv->tray_icon);
|
||||
}
|
||||
#endif
|
||||
#ifdef GDK_WINDOWING_WIN32
|
||||
if (priv->nid.hWnd != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user