Selection logic fix from Gordon Matzigkeit

-Yosh
This commit is contained in:
Manish Singh 1998-04-30 08:48:18 +00:00
parent 821bbbc475
commit 78fe9bc043
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Apr 30 01:45:03 PDT 1998 Manish Singh <yosh@gimp.org>
* plug-ins/xd/xd.c: selection logic fix from Gordon
Matzigkeit
Thu Apr 30 03:15:51 EDT 1998 Matthew Wilson <msw@gimp.org>
* app/curves.c: Another small change to keep the segfaults away

View File

@ -494,7 +494,6 @@ select_event (GtkWidget *widget,
GdkEvent *event)
{
preview_selected_version = (gint) gtk_object_get_user_data (GTK_OBJECT (widget));
g_print ("%d selected\n", preview_selected_version);
return 0;
}
@ -754,6 +753,9 @@ get_a_version (XdFile* xd, gchar* ext)
xpm_buffers[i].dsize);
}
/* Select the most recent version. */
gtk_list_select_item (GTK_LIST (plist), xd->versions - 1);
gtk_main ();
gdk_flush ();