Skip to content

Commit 675bd38

Browse files
committed
Cleanup of code #32
1 parent ab00ad0 commit 675bd38

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/x11/meta-x11-display.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ on_bus_acquired (GDBusConnection *connection,
135135
const char *name,
136136
gpointer user_data)
137137
{
138-
g_warning("on_bus_acquired start");
139138
MetaX11Display *x11_display = user_data;
140139
MetaX11DisplayPrivate *priv =
141140
meta_x11_display_get_instance_private (x11_display);
@@ -144,13 +143,11 @@ on_bus_acquired (GDBusConnection *connection,
144143
connection,
145144
"/org/gnome/Mutter/X11",
146145
NULL);
147-
g_warning("on_bus_acquired end");
148146
}
149147

150148
static void
151149
update_ui_scaling_factor (MetaX11Display *x11_display)
152150
{
153-
g_warning("update_ui_scaling_factor start");
154151
MetaX11DisplayPrivate *priv =
155152
meta_x11_display_get_instance_private (x11_display);
156153
MetaBackend *backend = backend_from_x11_display (x11_display);
@@ -181,7 +178,6 @@ update_ui_scaling_factor (MetaX11Display *x11_display)
181178
}
182179

183180
meta_dbus_x11_set_ui_scaling_factor (priv->dbus_api, ui_scaling_factor);
184-
g_warning("update_ui_scaling_factor emd");
185181
}
186182

187183
static void
@@ -1191,7 +1187,6 @@ on_window_visibility_updated (MetaDisplay *display,
11911187
static void
11921188
initialize_dbus_interface (MetaX11Display *x11_display)
11931189
{
1194-
g_warning("initialize_dbus_interface start");
11951190
MetaX11DisplayPrivate *priv =
11961191
meta_x11_display_get_instance_private (x11_display);
11971192

@@ -1204,7 +1199,6 @@ initialize_dbus_interface (MetaX11Display *x11_display)
12041199
NULL, NULL,
12051200
x11_display, NULL);
12061201
update_ui_scaling_factor (x11_display);
1207-
g_warning("initialize_dbus_interface end");
12081202
}
12091203

12101204
/**
@@ -1239,9 +1233,7 @@ meta_x11_display_new (MetaDisplay *display,
12391233
MetaBackend *backend = meta_get_backend ();
12401234
MetaMonitorManager *monitor_manager =
12411235
meta_backend_get_monitor_manager (backend);
1242-
g_warning("aaaaa");
12431236
MetaSettings *settings = meta_backend_get_settings (backend);
1244-
g_warning("bbbb");
12451237
/* A list of all atom names, so that we can intern them in one go. */
12461238
const char *atom_names[] = {
12471239
#define item(x) #x,
@@ -1310,9 +1302,7 @@ meta_x11_display_new (MetaDisplay *display,
13101302
x11_display = g_object_new (META_TYPE_X11_DISPLAY, NULL);
13111303
x11_display->gdk_display = gdk_display;
13121304
x11_display->display = display;
1313-
g_warning("1");
13141305
initialize_dbus_interface (x11_display);
1315-
g_warning("2");
13161306

13171307
/* here we use XDisplayName which is what the user
13181308
* probably put in, vs. DisplayString(display) which is

0 commit comments

Comments
 (0)