Commit cd54ec63 authored by Morten Welinder's avatar Morten Welinder

Compilation: cleanup.

Gtk+ 3.2 has the GtkTreeView fix we need.
parent e7a619ca
2013-04-24 Morten Welinder <terra@gnome.org>
* dialog-stf-fixed-page.c (stf_dialog_fixed_page_init): Cleanup.
Gtk+ 3.2 has the required fix.
* dialog-function-select.c (dialog_function_select_init): Style
links.
......
......@@ -570,21 +570,6 @@ cb_treeview_draw (GtkWidget *widget,
return FALSE;
}
static gboolean
cb_treeview_draw_2 (GtkWidget *widget,
cairo_t *cr,
StfDialogData *pagedata)
{
/* Manually call default handler */
GTK_WIDGET_GET_CLASS (widget)->draw (widget, cr);
/* Call the would-be connect_after handler. */
cb_treeview_draw (widget, cr, pagedata);
/* Abort emmission. */
return TRUE;
}
/*************************************************************************************************
* FIXED EXPORTED FUNCTIONS
*************************************************************************************************/
......@@ -635,14 +620,8 @@ stf_dialog_fixed_page_init (GtkBuilder *gui, StfDialogData *pagedata)
g_signal_connect (G_OBJECT (renderdata->tree_view),
"motion_notify_event",
G_CALLBACK (cb_treeview_motion), pagedata);
#if 0
/* Needs GtkTreeView bugfix in gtk+ of 20110914. */
g_signal_connect_after (G_OBJECT (renderdata->tree_view),
"draw",
G_CALLBACK (cb_treeview_draw), pagedata);
#else
g_signal_connect (G_OBJECT (renderdata->tree_view),
"draw",
G_CALLBACK (cb_treeview_draw_2), pagedata);
#endif
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment