Lines Matching defs:pref
541 gchar const *pref = (gchar const *) user_data;
549 } else if (pref) {
552 pref_path += pref;
563 static bool getViewStateFromPref(Inkscape::UI::View::View *view, gchar const *pref)
566 pref_path += pref;
581 gchar const *pref = (gchar const *) user_data;
602 ison = getViewStateFromPref(view, pref);
604 } else if (pref) {
606 ison = getViewStateFromPref(view, pref);
680 sp_ui_menu_append_check_item_from_verb(GtkMenu *menu, Inkscape::UI::View::View *view, gchar const *label, gchar const *tip, gchar const *pref,
708 g_signal_connect( G_OBJECT(item), "toggled", (GCallback) callback_toggle, (void *) pref);
711 g_signal_connect( G_OBJECT(item), "draw", (GCallback) callback_update, (void *) pref);
713 g_signal_connect( G_OBJECT(item), "expose_event", (GCallback) callback_update, (void *) pref);
716 (*callback_update)(item, NULL, (void *)pref);