]> spindle.queued.net Git - midori/commitdiff
Remove sokoke_image_menu_item_new_ellipsized
authorChristian Dywan <christian@twotoasts.de>
Sun, 15 Nov 2009 16:58:43 +0000 (17:58 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 15 Nov 2009 16:58:43 +0000 (17:58 +0100)
midori/midori-view.c
midori/sokoke.c
midori/sokoke.h

index e7ce2d75eeb4d0e1609650dee631be39cfcde32b..1cdf41f26b48ca404a11b0649b5e193ed9bf1fa2 100644 (file)
@@ -3230,7 +3230,7 @@ midori_view_get_proxy_menu_item (MidoriView* view)
     if (!view->menu_item)
     {
         title = midori_view_get_display_title (view);
-        view->menu_item = sokoke_image_menu_item_new_ellipsized (title);
+        view->menu_item = katze_image_menu_item_new_ellipsized (title);
         gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (view->menu_item),
             gtk_image_new_from_pixbuf (view->icon));
 
index 0a0ef43407bc002316cb954dcd86cea7f2d61ca4..fbc112f9f4a4cb262882add4bb81b0dadd9f30fb 100644 (file)
@@ -865,20 +865,6 @@ sokoke_action_create_popup_menu_item (GtkAction* action)
     return menuitem;
 }
 
-/**
- * sokoke_image_menu_item_new_ellipsized:
- * @label: the text of the menu item
- *
- * Creates a new #GtkImageMenuItem containing an ellipsized label.
- *
- * Return value: a new #GtkImageMenuItem
- **/
-GtkWidget*
-sokoke_image_menu_item_new_ellipsized (const gchar* label)
-{
-    return katze_image_menu_item_new_ellipsized (label);
-}
-
 /**
  * sokoke_time_t_to_julian:
  * @timestamp: a time_t timestamp value
index f2155a3db8a0ed1697e105b4fef86e3661e895dd..a178d92c7b391cd0a052aa0ace2c1a3fe700df64 100644 (file)
@@ -142,9 +142,6 @@ sokoke_widget_get_text_size             (GtkWidget*      widget,
 GtkWidget*
 sokoke_action_create_popup_menu_item    (GtkAction*      action);
 
-GtkWidget*
-sokoke_image_menu_item_new_ellipsized   (const gchar*    label);
-
 gint64
 sokoke_time_t_to_julian                 (const time_t*   timestamp);