when i use this:

{
  GtkWidget *image = lookup_widget(GTK_WIDGET(combobox),
"img_objectdesign");

   gtk_image_set_from_file (GTK_IMAGE(image), "Pictures/baby.jpg");
}

it works...as you can see image is already declared in the first line. that
is GtkWidget *image=lookup...etc.
if i declare it at top like GtkWidget *image; there is an error saying
redefinition...so this doesnt solve the poblem..plz help

-- 
View this message in context: 
http://www.nabble.com/displaying-2-images-from-combobox-tf3361889.html#a9353141
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to