summaryrefslogtreecommitdiffstats
path: root/src/ege-select-one-action.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-06-05 13:22:18 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-06-05 13:22:18 +0000
commitf2510631aadaae48e040a1dd0f9bc8b4de6f2054 (patch)
treefe65c502ae9e1b5d20187273c5baa67062ca20fd /src/ege-select-one-action.cpp
parentPossible Win32 compile fix. (diff)
downloadinkscape-f2510631aadaae48e040a1dd0f9bc8b4de6f2054.tar.gz
inkscape-f2510631aadaae48e040a1dd0f9bc8b4de6f2054.zip
Replace use of deprecated GtkTooltips API
Fixed bugs: - https://launchpad.net/bugs/793086 (bzr r10256.1.1)
Diffstat (limited to 'src/ege-select-one-action.cpp')
-rw-r--r--src/ege-select-one-action.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ege-select-one-action.cpp b/src/ege-select-one-action.cpp
index 2fd45e268..ea08f1c06 100644
--- a/src/ege-select-one-action.cpp
+++ b/src/ege-select-one-action.cpp
@@ -652,7 +652,6 @@ GtkWidget* create_tool_item( GtkAction* action )
GtkTreeIter iter;
gboolean valid = FALSE;
gint index = 0;
- GtkTooltips* tooltips = gtk_tooltips_new();
{
gchar* sss = 0;
@@ -737,7 +736,7 @@ GtkWidget* create_tool_item( GtkAction* action )
sub = gtk_action_create_tool_item( GTK_ACTION(ract) );
gtk_action_connect_proxy( GTK_ACTION(ract), sub );
- gtk_tool_item_set_tooltip( GTK_TOOL_ITEM(sub), tooltips, tip, NULL );
+ gtk_tool_item_set_tooltip_text( GTK_TOOL_ITEM(sub), tip );
gtk_box_pack_start( GTK_BOX(holder), sub, FALSE, FALSE, 0 );
@@ -750,7 +749,6 @@ GtkWidget* create_tool_item( GtkAction* action )
}
g_object_set_data( G_OBJECT(holder), "ege-proxy_action-group", group );
- g_object_set_data( G_OBJECT(holder), "ege-tooltips", tooltips );
gtk_container_add( GTK_CONTAINER(item), holder );
} else {