16 lines
753 B
Diff
16 lines
753 B
Diff
diff -u -r -U5 uzbl-228bc38cbd/src/variables.c uzbl-228bc38cbd.null-window/src/variables.c
|
|
--- uzbl-228bc38cbd/src/variables.c 2012-04-28 14:27:17.000000000 -0400
|
|
+++ uzbl-228bc38cbd.null-window/src/variables.c 2013-06-20 02:05:26.904083524 -0400
|
|
@@ -251,11 +251,11 @@
|
|
return G_OBJECT(webkit_web_view_get_settings(uzbl.gui.web_view));
|
|
}
|
|
|
|
void
|
|
set_window_property(const gchar* prop, const gchar* value) {
|
|
- if(GTK_IS_WIDGET(uzbl.gui.main_window)) {
|
|
+ if(uzbl.gui.main_window && GTK_IS_WIDGET(uzbl.gui.main_window)) {
|
|
gdk_property_change(
|
|
gtk_widget_get_window (GTK_WIDGET (uzbl.gui.main_window)),
|
|
gdk_atom_intern_static_string(prop),
|
|
gdk_atom_intern_static_string("STRING"),
|
|
8,
|