~ubuntu-branches/debian/squeeze/gtk+2.0/squeeze

« back to all changes in this revision

Viewing changes to gtk/gtktoolbutton.c

Tags: upstream-2.18.7
ImportĀ upstreamĀ versionĀ 2.18.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
595
595
      gtk_image_get_stock (image, &stock_id, NULL);
596
596
      return gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_MENU);
597
597
    }
 
598
  else if (storage_type == GTK_IMAGE_ICON_NAME)
 
599
    {
 
600
      const gchar *icon_name;
 
601
      gtk_image_get_icon_name (image, &icon_name, NULL);
 
602
      return gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_MENU);
 
603
    }
598
604
  else if (storage_type == GTK_IMAGE_ICON_SET)
599
605
    {
600
606
      GtkIconSet *icon_set;