From: Christian Dywan Date: Sun, 15 Nov 2009 16:58:43 +0000 (+0100) Subject: Remove sokoke_image_menu_item_new_ellipsized X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e6f6e867a09ba1b3a4fc3b36c90bee304fb8fd7;p=midori Remove sokoke_image_menu_item_new_ellipsized --- diff --git a/midori/midori-view.c b/midori/midori-view.c index e7ce2d75..1cdf41f2 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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)); diff --git a/midori/sokoke.c b/midori/sokoke.c index 0a0ef434..fbc112f9 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -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 diff --git a/midori/sokoke.h b/midori/sokoke.h index f2155a3d..a178d92c 100644 --- a/midori/sokoke.h +++ b/midori/sokoke.h @@ -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);