Lines Matching refs:_priv

118     (g_hash_table_size ((master)->_priv->unlocked_items) == 0 ? 1 :     \
119 (g_hash_table_size ((master)->_priv->locked_items) == 0 ? 0 : -1))
186 master->_priv = g_new0 (GdlDockMasterPrivate, 1);
187 master->_priv->number = 1;
188 master->_priv->switcher_style = GDL_SWITCHER_STYLE_BOTH;
189 master->_priv->locked_items = g_hash_table_new (g_direct_hash, g_direct_equal);
190 master->_priv->unlocked_items = g_hash_table_new (g_direct_hash, g_direct_equal);
284 if (master->_priv) {
285 if (master->_priv->idle_layout_changed_id)
286 g_source_remove (master->_priv->idle_layout_changed_id);
288 if (master->_priv->root_xor_gc) {
289 g_object_unref (master->_priv->root_xor_gc);
290 master->_priv->root_xor_gc = NULL;
292 if (master->_priv->drag_request) {
293 if (G_IS_VALUE (&master->_priv->drag_request->extra))
294 g_value_unset (&master->_priv->drag_request->extra);
295 g_free (master->_priv->drag_request);
296 master->_priv->drag_request = NULL;
298 g_free (master->_priv->default_title);
299 master->_priv->default_title = NULL;
301 g_hash_table_destroy (master->_priv->locked_items);
302 master->_priv->locked_items = NULL;
303 g_hash_table_destroy (master->_priv->unlocked_items);
304 master->_priv->unlocked_items = NULL;
306 g_free (master->_priv);
307 master->_priv = NULL;
355 g_free (master->_priv->default_title);
356 master->_priv->default_title = g_value_dup_string (value);
381 g_value_set_string (value, master->_priv->default_title);
387 g_value_set_enum (value, master->_priv->switcher_style);
407 if (!master->_priv->drag_request)
408 master->_priv->drag_request = g_new0 (GdlDockRequest, 1);
410 request = master->_priv->drag_request;
419 master->_priv->rect_drawn = FALSE;
420 master->_priv->rect_owner = NULL;
435 request = master->_priv->drag_request;
440 if (master->_priv->rect_drawn)
474 request = master->_priv->drag_request;
579 dock == master->_priv->rect_owner)) {
582 if (master->_priv->rect_drawn)
588 master->_priv->rect_owner = dock;
591 if (~master->_priv->rect_drawn)
615 if (!master->_priv || !master->_priv->drag_request)
618 master->_priv->rect_drawn = ~master->_priv->rect_drawn;
620 if (master->_priv->rect_owner) {
621 gdl_dock_xor_rect (master->_priv->rect_owner,
622 &master->_priv->drag_request->rect);
626 rect = &master->_priv->drag_request->rect;
629 if (!master->_priv->root_xor_gc) {
634 master->_priv->root_xor_gc = gdk_gc_new_with_values (
650 gdk_gc_set_line_attributes (master->_priv->root_xor_gc, 1,
657 gdk_gc_set_dashes (master->_priv->root_xor_gc, 1, dash_list, 2);
659 gdk_draw_rectangle (window, master->_priv->root_xor_gc, 0,
663 gdk_gc_set_dashes (master->_priv->root_xor_gc, 0, dash_list, 2);
665 gdk_draw_rectangle (window, master->_priv->root_xor_gc, 0,
681 if (master->_priv->idle_layout_changed_id) {
682 g_source_remove (master->_priv->idle_layout_changed_id);
683 master->_priv->idle_layout_changed_id = 0;
694 master->_priv->idle_layout_changed_id = 0;
717 if (!master->_priv->idle_layout_changed_id)
718 master->_priv->idle_layout_changed_id =
735 if (!master->_priv->idle_layout_changed_id)
736 master->_priv->idle_layout_changed_id =
753 g_hash_table_remove (master->_priv->unlocked_items, object);
754 g_hash_table_insert (master->_priv->locked_items, object, NULL);
756 g_hash_table_remove (master->_priv->locked_items, object);
757 g_hash_table_insert (master->_priv->unlocked_items, object, NULL);
779 object->name = g_strdup_printf ("__dock_%u", master->_priv->number++);
840 master->_priv->switcher_style, NULL);
846 if (!master->_priv->idle_layout_changed_id)
847 master->_priv->idle_layout_changed_id =
863 if (g_hash_table_remove (master->_priv->locked_items, object) ||
864 g_hash_table_remove (master->_priv->unlocked_items, object)) {
879 if (!master->_priv->idle_layout_changed_id)
880 master->_priv->idle_layout_changed_id =
1000 master->_priv->switcher_style = switcher_style;