Commit 10478673 authored by Rob Adams's avatar Rob Adams Committed by Rob Adams

initialize grab_wireframe_active to FALSE. Fix for #128090.

2003-12-17  Rob Adams  <readams@readams.net>

	* src/display.c (meta_display_open): initialize
	grab_wireframe_active to FALSE.  Fix for #128090.

2003-12-17  Rob Adams  <readams@readams.net>

	* src/tabpopup.c (meta_ui_tab_popup_new): Don't try to call
	utf8_strndup on a null title for an entry.  Fix for #128566.

	* src/workspace.c (meta_workspace_free): Call g_list_free on the
	mru_list, since with sticky windows that MRU list could well not
	be emtpy.  See #122016.
parent 191b3f2c
2003-12-17 Rob Adams <readams@readams.net>
* src/display.c (meta_display_open): initialize
grab_wireframe_active to FALSE. Fix for #128090.
2003-12-17 Rob Adams <readams@readams.net>
* src/tabpopup.c (meta_ui_tab_popup_new): Don't try to call
utf8_strndup on a null title for an entry. Fix for #128566.
* src/workspace.c (meta_workspace_free): Call g_list_free on the
mru_list, since with sticky windows that MRU list could well not
be emtpy. See #122016.
2003-12-13 Rob Adams <readams@readams.net>
* src/window.c (meta_window_new_with_attrs): set on_all_workspaces
......
......@@ -479,6 +479,7 @@ meta_display_open (const char *name)
display->sentinel_counter = 0;
display->grab_op = META_GRAB_OP_NONE;
display->grab_wireframe_active = FALSE;
display->grab_window = NULL;
display->grab_screen = NULL;
display->grab_resize_popup = NULL;
......
......@@ -180,7 +180,10 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries,
te = g_new (TabEntry, 1);
te->key = entries[i].key;
te->title = utf8_strndup (entries[i].title, max_chars_per_title);
te->title =
entries[i].title
? utf8_strndup (entries[i].title, max_chars_per_title)
: NULL;
te->widget = NULL;
te->icon = entries[i].icon;
te->blank = entries[i].blank;
......
......@@ -85,7 +85,6 @@ meta_workspace_free (MetaWorkspace *workspace)
}
g_assert (workspace->windows == NULL);
g_assert (workspace->mru_list == NULL);
screen = workspace->screen;
......@@ -94,6 +93,7 @@ meta_workspace_free (MetaWorkspace *workspace)
g_free (workspace->work_areas);
g_list_free (workspace->mru_list);
g_slist_free (workspace->left_struts);
g_slist_free (workspace->right_struts);
g_slist_free (workspace->top_struts);
......
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