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.
This commit is contained in:
Rob Adams 2003-12-17 16:01:00 +00:00 committed by Rob Adams
parent 191b3f2c21
commit 104786735a
4 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,17 @@
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

View File

@ -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;

View File

@ -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;

View File

@ -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);