de-e_comp_get()-ify grab dialog
authorChris Michael <cp.michael@samsung.com>
Tue, 27 Jan 2015 17:48:15 +0000 (12:48 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 27 Jan 2015 17:48:15 +0000 (12:48 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_grab_dialog.c

index 083e8b5eb974b525d7602b619039f47bf776f121..8c3546ffa5099e6505b4a99f76e1313a84f0581d 100644 (file)
@@ -130,7 +130,7 @@ e_grab_dialog_show(Evas_Object *parent, Eina_Bool is_mouse, Ecore_Event_Handler_
    evas_object_event_callback_add(eg->dia->win, EVAS_CALLBACK_DEL, _e_grab_dialog_delete, eg);
 
 #ifndef HAVE_WAYLAND_ONLY
-   eg->grab_win = ecore_x_window_input_new(e_comp_get(NULL)->man->root, 0, 0, 1, 1);
+   eg->grab_win = ecore_x_window_input_new(e_comp->man->root, 0, 0, 1, 1);
    ecore_x_window_show(eg->grab_win);
    e_grabinput_get(eg->grab_win, 0, eg->grab_win);
 #endif