X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Fui_misc.c;h=461e1ee75f2c7e3baa1eb1c48f7b534f28a2de14;hp=d6df839ada0f29efbe0a1e6335828ec99916fb7d;hb=db38d12f83128e9890ce2d2c7acc5ad62062bc7e;hpb=e436ea53511e1dadab981af18b237fee83fde39b diff --git a/src/ui_misc.c b/src/ui_misc.c index d6df839a..461e1ee7 100644 --- a/src/ui_misc.c +++ b/src/ui_misc.c @@ -712,7 +712,7 @@ GtkWidget *pref_table_spin_new_int(GtkWidget *table, gint column, gint row, GtkWidget *pref_toolbar_new(GtkWidget *parent_box, GtkToolbarStyle style) { GtkWidget *tbar; - + tbar = gtk_toolbar_new(); gtk_toolbar_set_style(GTK_TOOLBAR(tbar), style); @@ -953,7 +953,7 @@ static void date_selection_popup(DateSelection *ds) gtk_widget_get_allocation(ds->button, &button_allocation); gtk_widget_get_allocation(ds->window, &window_allocation); - + x = wx + button_allocation.x + button_allocation.width - window_allocation.width; y = wy + button_allocation.y + button_allocation.height;