~ubuntu-branches/ubuntu/saucy/cairo-dock-plug-ins/saucy

« back to all changes in this revision

Viewing changes to weblets/src/applet-widget.c

Tags: upstream-3.0.0.0beta1
ImportĀ upstreamĀ versionĀ 3.0.0.0beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        
78
78
        myData.pWebKitView = WEBKIT_WEB_VIEW (webkit_web_view_new ());
79
79
        gtk_container_add (GTK_CONTAINER (myData.pGtkMozEmbed), GTK_WIDGET (myData.pWebKitView));
80
 
        gtk_signal_connect(GTK_OBJECT(myData.pWebKitView),
 
80
        g_signal_connect(G_OBJECT(myData.pWebKitView),
81
81
                "load_finished",
82
 
                GTK_SIGNAL_FUNC(load_finished_cb),
 
82
                G_CALLBACK (load_finished_cb),
83
83
                myApplet);
84
84
        gtk_widget_show_all (myData.pGtkMozEmbed);
85
85
                                                                         
86
86
        if (myDock)
87
87
        {
88
 
                gtk_widget_set (GTK_WIDGET (myData.pWebKitView), "width-request", 600, "height-request", 400, NULL);
 
88
                g_object_set (GTK_WIDGET (myData.pWebKitView), "width-request", 600, "height-request", 400, NULL);
89
89
                myData.dialog = cd_weblets_build_dialog(myApplet);
90
90
        }
91
91
        else