return;
} else {
LttvPluginTab *ptab;
- ptab = (Tab *)g_object_get_data(G_OBJECT(page), "Tab_Plugin");
+ ptab = g_object_get_data(G_OBJECT(page), "Tab_Plugin");
tab = ptab->tab;
}
return;
} else {
LttvPluginTab *ptab;
- ptab = (Tab *)g_object_get_data(G_OBJECT(page), "Tab_Plugin");
+ ptab = g_object_get_data(G_OBJECT(page), "Tab_Plugin");
tab = ptab->tab;
}
on_trace_facility_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
- g_info("Trace facility selector: %s\n");
+ g_info("Trace facility selector: %s\n", "");
}
GError *error = NULL;
MainWindow * mw_data = get_window_data_struct((GtkWidget*)menuitem);
- LttvLibrary *library;
+ LttvLibrary *library = NULL;
{
GPtrArray *name;
guint nb,i;
LttvIAttribute *attributes_global =
LTTV_IATTRIBUTE(lttv_global_attributes());
- g_assert(attribute =
- LTTV_ATTRIBUTE(lttv_iattribute_find_subdir(
- LTTV_IATTRIBUTE(attributes_global),
- LTTV_VIEWER_CONSTRUCTORS)));
+ attribute = LTTV_ATTRIBUTE(lttv_iattribute_find_subdir(
+ LTTV_IATTRIBUTE(attributes_global),
+ LTTV_VIEWER_CONSTRUCTORS));
+ g_assert(attribute);
name = g_quark_from_string("guievents");
type = lttv_iattribute_get_by_name(LTTV_IATTRIBUTE(attribute),