]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-message-area.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-message-area.h
index 7128482379805a1688e36ac7c2accc3ede3cf227..953a7442edee16e1573cf2d72b056510426ab3c9 100644 (file)
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #ifndef EV_MESSAGE_AREA_H
@@ -26,8 +26,6 @@
 
 #include <gtk/gtk.h>
 
-#include "gedit-message-area.h"
-
 G_BEGIN_DECLS
 
 #define EV_TYPE_MESSAGE_AREA                  (ev_message_area_get_type ())
@@ -42,14 +40,14 @@ typedef struct _EvMessageAreaClass   EvMessageAreaClass;
 typedef struct _EvMessageAreaPrivate EvMessageAreaPrivate;
 
 struct _EvMessageArea {
-       GeditMessageArea parent_instance;
+       GtkInfoBar parent_instance;
 
        /*< private >*/
        EvMessageAreaPrivate *priv;
 };
 
 struct _EvMessageAreaClass {
-       GeditMessageAreaClass parent_class;
+       GtkInfoBarClass parent_class;
 };
 
 GType      ev_message_area_get_type             (void) G_GNUC_CONST;
@@ -66,6 +64,11 @@ void       ev_message_area_set_text             (EvMessageArea *area,
 void       ev_message_area_set_secondary_text   (EvMessageArea *area,
                                                 const gchar   *str);
 
+void      _ev_message_area_add_buttons_valist   (EvMessageArea *area,
+                                                const gchar   *first_button_text,
+                                                va_list        args);
+GtkWidget *_ev_message_area_get_main_box        (EvMessageArea *area);
+
 G_END_DECLS
 
 #endif /* EV_MESSAGE_AREA_H */